import Mock from "mockjs";
import homeApi from "./mockSeveData/home";
//定义mock请求拦截
//参数，地址，请求类型，函数
/*Mock.mock("/api/home/getData", "get", () => {
  //拦截请求后的处理逻辑
  console.log("拦截成功");
  return [
    {
      name: "侯旭东",
    },
  ];
});*/
Mock.mock("/api/home/getData", homeApi.getStatisticalData);
